import request from '@/util/request'

export function login(data) {
  return request({
    url: '/iot/token/get',
    method: 'post',
    data
  })
}

export function getLoginQrcode(data) {
  return request({
    url: '/iot/token/getLoginQrcode',
    method: 'post',
    data
  })
}

